package cn.jdy.plugins.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

import cn.jdy.common.bo.BaseEntry;
import cn.jdy.platform.entity.ConfValue;

/**
 * @title 邮政服务网点实体类
 * @author yangyingming
 * @since 19-11-2015
 */
@Entity
public class ServerPoint extends BaseEntry implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)             //根据数据库自动适配 mysql默认自增
	private Long    id;                                         //主键
	private String  node;                                       //分公司
	private String  area;                                       //区域。。。
	private String  name;                                       //邮政场所名称
	private String  address;                                    //地址
	private String  tel;                                        //电话
	private Long    zipcode;                                    //邮政编码
	
	private String  scope;                                      //开办业务
	private String  ontime;                                     //营业时间
	private String  mianji;                                     //区域面积
	private String  renkou;                                     //区域人口
	private String postime;                                    //周投递次数
	private String  fuwubanj;                                   //服务半径
	private String  fuwurenkou;                                 //服务人口
	private String  lng;                                        //经度
	private String  lat;                                        //纬度
	@Column(columnDefinition = "longtext")
	private String context;      								//内容
	private String remark;      								//备注
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNode() {
		return node;
	}

	public void setNode(String node) {
		this.node = node;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Long getZipcode() {
		return zipcode;
	}

	public void setZipcode(Long zipcode) {
		this.zipcode = zipcode;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

	public String getOntime() {
		return ontime;
	}

	public void setOntime(String ontime) {
		this.ontime = ontime;
	}

	public String getMianji() {
		return mianji;
	}

	public void setMianji(String mianji) {
		this.mianji = mianji;
	}

	public String getRenkou() {
		return renkou;
	}

	public void setRenkou(String renkou) {
		this.renkou = renkou;
	}

	public String getPostime() {
		return postime;
	}

	public void setPostime(String postime) {
		this.postime = postime;
	}

	public String getFuwubanj() {
		return fuwubanj;
	}

	public void setFuwubanj(String fuwubanj) {
		this.fuwubanj = fuwubanj;
	}

	public String getFuwurenkou() {
		return fuwurenkou;
	}

	public void setFuwurenkou(String fuwurenkou) {
		this.fuwurenkou = fuwurenkou;
	}

	public String getLng() {
		return lng;
	}

	public void setLng(String lng) {
		this.lng = lng;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getContext() {
		return context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
